﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using AutoAllocService.Map.Models;
using RestEase;

namespace AutoAllocService.Map
{
    public interface IMapApi
    {
        [Get("routematrix/v2/driving")]
        Task<DistanceResult> GetDistance([Query] string origins, [Query] string destinations, [Query] string ak, [Query] string output = "json");
    }
}
